projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ea573b
)
spinbutton: Free the gadget in finalize
author
Timm Bäder
<mail@baedert.org>
Wed, 10 Feb 2016 11:30:35 +0000
(12:30 +0100)
committer
Timm Bäder
<mail@baedert.org>
Wed, 10 Feb 2016 11:30:35 +0000
(12:30 +0100)
gtk/gtkspinbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkspinbutton.c
b/gtk/gtkspinbutton.c
index e76a1e737f6afee5121acd021d7658aca3f65578..59215aa91e8be40e1fbeac53a72b09b332a29e96 100644
(file)
--- a/
gtk/gtkspinbutton.c
+++ b/
gtk/gtkspinbutton.c
@@
-852,6
+852,7
@@
gtk_spin_button_finalize (GObject *object)
GtkSpinButtonPrivate *priv = spin_button->priv;
gtk_spin_button_unset_adjustment (spin_button);
+ g_clear_object (&priv->gadget);
g_object_unref (priv->swipe_gesture);